using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace TTCN_QLDiemC3.Report
{
    public partial class GiaoVienReport : DevExpress.XtraReports.UI.XtraReport
    {
        public GiaoVienReport()
        {
            InitializeComponent();
        }

        public void Load()
        {
            xrMaGV.DataBindings.Add("Text", DataSource, "id_GiaoVien");
            xrTenGV.DataBindings.Add("Text", DataSource, "HoTenGV");
            xrNgaySinh.DataBindings.Add("Text", DataSource, "NgaySinh");
            xrDiaChi.DataBindings.Add("Text", DataSource, "DiaChi");
            xrSDT.DataBindings.Add("Text", DataSource, "SDT");
            xrEmail.DataBindings.Add("Text", DataSource, "Email");
            xrKhoi.DataBindings.Add("Text", DataSource, "TenKhoi");
            xrMonHoc.DataBindings.Add("Text", DataSource, "TenMonHoc");
        }
    }
}
